<template>
  <div class="common-layout">
    <el-container>
<!--   侧边栏   -->
      <el-aside width="200px">
        <el-menu>
          <el-menu-item index="1">员工管理</el-menu-item>
          <el-menu-item index="2">车辆管理</el-menu-item>
          <el-menu-item index="3">围栏管理</el-menu-item>
        </el-menu>
      </el-aside>
      <el-container>
<!--    右侧头部    -->
        <el-header>
          <h1 style="background-color: #0aa1ed;color: #fff">智慧车辆管理系统</h1>
        </el-header>
<!--    右侧主体    -->
        <el-main>
          <el-table :data="vehicle_arr">
            <el-table-column lable="序号" type="index" align="center" width="80"></el-table-column>
            <el-table-column lable="品牌" prop="brand" align="center"></el-table-column>
            <el-table-column lable="型号" prop="model" align="center"></el-table-column>
            <el-table-column lable="车牌号" prop="license" align="center"></el-table-column>
            <el-table-column lable="颜色" prop="color" align="center"></el-table-column>
            <el-table-column lable="公里数" prop="km" align="center"></el-table-column>
          </el-table>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
  import {ref} from "vue";

  const vehicle_arr=ref([
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320},
    {brand:'奥迪',model:'A8',license:'京A88888',color:'黑',km:320}
  ])
</script>


<style scoped>

</style>